package org.example.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("b_good")
public class Good {
    @TableId(value = "id", type = IdType.AUTO)
    public Long id;
    public String name;
    public String cover;
    public String description;
    public BigDecimal price;
    public String status;
    public LocalDateTime createTime;
    public Integer viewCount;
    public Integer recommendCount;
    public Integer likeCount;
    public Integer collectCount;
    public Classification classification;
}
